package com.kystar.muxplayer.protocol.code.set;

import com.kystar.muxplayer.protocol.CodeCmd;

public class CS12_OutPutInfo extends CodeCmd {

    private CS12_OutPutInfo(int type, int val) {
        super(type, val, CODE_OK);
    }

    @Override
    public byte getCode() {
        return 0x012;
    }


    public static CS12_OutPutInfo createBrightness(int bright) {
        return new CS12_OutPutInfo(1, bright);
    }

    public static CS12_OutPutInfo createContrast(int contrast) {
        return new CS12_OutPutInfo(5, contrast);
    }
}
